import numpy as np
import os
import pandas as pd

class DATAPATH:
    dataRootPath = 'G:\\future'
    server_root_path = '/srv/data/future'
    if not os.path.exists(dataRootPath):
        os.mkdir(dataRootPath)
    if not os.path.exists(dataRootPath + '\\' + 'future_trade_data'):
        os.mkdir(dataRootPath + '\\' + 'future_trade_data')
    if not os.path.exists(dataRootPath + '\\' + 'future_basic_data'):
        os.mkdir(dataRootPath + '\\' + 'future_basic_data')
    if not os.path.exists(dataRootPath + '\\' + 'future_trade_data' + '\\' + 'dailyBar'):
        os.mkdir(dataRootPath + '\\' + 'future_trade_data' + '\\' + 'dailyBar')
    if not os.path.exists(dataRootPath + '\\' + 'future_trade_data' + '\\' + 'hfBar'):
        os.mkdir(dataRootPath + '\\' + 'future_trade_data' + '\\' + 'hfBar')
    if not os.path.exists('tmp'):
        os.mkdir('tmp')